#!/use/bin/env python
# -*- coding: UTF-8 -*-

from mongokit import Connection
from model import register_models
# from api import app
from conf import test as Conf

print Conf.MONGODB_DATABASE_URI

db = Connection(host=Conf.MONGODB_DATABASE_URI, port=Conf.MONGODB_PORT)

# db = Connection(Conf.MONGODB_DATABASE_URI)

db.register(register_models)

